package com.shanzmoo.db.module.psys.domain.query;

import com.shanzmoo.base.bean.PageReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;


/**
 * 平台管理系统菜单 查询对象
 *
 * @author Gzhao 2021-03-10
 */
@Data
@ApiModel("平台管理系统菜单-查询对象")
public class MenuQuery extends PageReqBase {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "父级菜单")
    private Integer parentId;

    @ApiModelProperty(value = "菜单类型：0-目录，1-菜单，2-按钮")
    private Boolean menuType;

    @ApiModelProperty(value = "菜单名称")
    private String menuName;

    @ApiModelProperty(value = "是否隐藏菜单：0-显示，1-隐藏")
    private Boolean hidden;

    @ApiModelProperty(value = "前端路由地址")
    private String routerUrl;

    @ApiModelProperty(value = "前端组件路径")
    private String componentPath;

    @ApiModelProperty(value = "权限标识")
    private String perms;

    @ApiModelProperty(value = "排序号")
    private Integer menuIndex;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @ApiModelProperty(value = "更新人")
    private Integer updateUser;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除，0-未删除 1-已删除")
    private Boolean deleted;


}
